package com.example.study_manger.repository;

import com.example.study_manger.entity.ExamQuestion;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface ExamQuestionRe extends JpaRepository<ExamQuestion, Long>, JpaSpecificationExecutor<ExamQuestion> {
    Page<ExamQuestion> findByQuestionTypeContaining(String questionType, PageRequest pageRequest);
}
